package com.chenfan.common.extension.model;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 租户
 *
 * @author wulg
 * @date 2021-08-21
 **/
@Data
@EqualsAndHashCode(callSuper = true)
public abstract class BaseEntity extends BaseTenantEntity {

    private static final long serialVersionUID = -4405737278089572799L;

    /**
     * 公司id
     */
    @TableField(value="company_id")
    private Long companyId;
}